﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ctrl="clr-namespace:Beaker.OpenCube.WorldViewer.Controls">

	<ControlTemplate x:Key="ChunkMapControlTemplate"  TargetType="{x:Type ctrl:ChunkMapControl}">
		<ScrollViewer HorizontalScrollBarVisibility="Visible" MinWidth="256" MinHeight="128">
			<Canvas x:Name="PART_Canvas" Grid.Row="0" Grid.Column="0" />
		</ScrollViewer>
	</ControlTemplate>

	<Style TargetType="{x:Type ctrl:ChunkMapControl}">
		<Setter Property="Template" Value="{StaticResource ChunkMapControlTemplate}" />
	</Style>

</ResourceDictionary>